forward declaration for gtk_window_paint declare xid_ht static get the
authorJay Cox <jaycox@earthlink.net>
Sat, 7 Nov 1998 16:12:37 +0000 (16:12 +0000)
committerjaycox <jaycox@src.gnome.org>
Sat, 7 Nov 1998 16:12:37 +0000 (16:12 +0000)
1998-11-07  Jay Cox  <jaycox@earthlink.net>

* gtk/gtkwindow.c: forward declaration for gtk_window_paint
* gdk/gdkxid.c: declare xid_ht static
* examples/*/Makefile: get the link ordering right.

40 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
examples/aspectframe/Makefile
examples/buttons/Makefile
examples/calendar/Makefile
examples/clist/Makefile
examples/entry/Makefile
examples/eventbox/Makefile
examples/filesel/Makefile
examples/gtkdial/Makefile
examples/helloworld/Makefile
examples/helloworld2/Makefile
examples/list/Makefile
examples/menu/Makefile
examples/notebook/Makefile
examples/packbox/Makefile
examples/packer/Makefile
examples/paned/Makefile
examples/pixmap/Makefile
examples/progressbar/Makefile
examples/radiobuttons/Makefile
examples/rangewidgets/Makefile
examples/rulers/Makefile
examples/scribble-simple/Makefile
examples/scrolledwin/Makefile
examples/selection/Makefile
examples/statusbar/Makefile
examples/table/Makefile
examples/text/Makefile
examples/tictactoe/Makefile
examples/tree/Makefile
examples/wheelbarrow/Makefile
gdk/gdkxid.c
gdk/x11/gdkxid.c
gtk/gtkwindow.c

index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index cbf2a095b31c0f30eb57a277770fc711743d48c5..52bae6155c2bba77f808ff18ddcf56a9519e3908 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-07  Jay Cox  <jaycox@earthlink.net>
+
+       * gtk/gtkwindow.c: forward declaration for gtk_window_paint
+       * gdk/gdkxid.c: declare xid_ht static
+       * examples/*/Makefile: get the link ordering right.
+
 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkclist.c (gtk_clist_realize): Set background of
index fe8b11e286dbe5ab35d09d1450e291715fd3bce6..0fed8f559adc48526fba0f116c65bce443ad632c 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 aspectframe: aspectframe.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` aspectframe.c -o aspectframe
+       $(CC) `gtk-config --cflags`  aspectframe.c -o aspectframe `gtk-config --libs`
 
 clean: 
        rm -f *.o aspectframe
index 6485609e1b862a45bdf89bafa99e03b187065bf8..1c918e5ba5038f60de9109f11e97b67c2755cc87 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 buttons: buttons.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` buttons.c -o buttons
+       $(CC) `gtk-config --cflags`  buttons.c -o buttons `gtk-config --libs`
 
 clean: 
        rm -f *.o buttons
index eb3a3306b49a2326b27e34069f91dca36dbe02cf..5ed81a1e6ea77d20eaca38c07e5d354c076811e1 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 gcalendar: gcalendar.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` gcalendar.c -o gcalendar
+       $(CC) `gtk-config --cflags` gcalendar.c -o gcalendar `gtk-config --libs`
 
 clean: 
        rm -f gcalendar
index d9836f7af30930a8c19c1eada23c3caac93a23bd..c4cecd65c8885274d2a97a0052f9b3695ca7041a 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 clist: clist.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` clist.c -o clist
+       $(CC) `gtk-config --cflags`  clist.c -o clist `gtk-config --libs`
 
 clean: 
        rm -f *.o clist
index 130ec03676c3fd5999866a2951b05dcb7ebc7d48..9958842ca368a520ff13ae82d678d6e778da1e38 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 entry: entry.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` entry.c -o entry
+       $(CC) `gtk-config --cflags`  entry.c -o entry `gtk-config --libs`
 
 clean: 
        rm -f *.o entry
index e010b9c2d9906dfddbd458494fe0b306860786ee..5a892170935c8d6cfc058ec9326c8d9b296534a4 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 eventbox: eventbox.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` eventbox.c -o eventbox
+       $(CC) `gtk-config --cflags`  eventbox.c -o eventbox `gtk-config --libs`
 
 clean: 
        rm -f *.o eventbox
index e78f2d190d5182a86ad5f8b4b276bc8440d20bd4..92968a1ad6cfe2a55744d9cb1eb665ef5ce27224 100644 (file)
@@ -1,7 +1,8 @@
+
 CC = gcc
 
 filesel: filesel.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` filesel.c -o filesel
+       $(CC) `gtk-config --cflags`  filesel.c -o filesel `gtk-config --libs`
 
 clean: 
        rm -f *.o filesel
index f514b6a156e8d50e64fb9c946e04e3ae3776de23..aef3850e0ad369edcf4182f76e70cfa7d68a1cf5 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 dial_test: gtkdial.o dial_test.o
-       $(CC) `gtk-config --libs` dial_test.o gtkdial.o -o dial_test
+       $(CC) dial_test.o gtkdial.o -o dial_test `gtk-config --libs`
 
 dial_test.o: dial_test.c gtkdial.h
        $(CC) `gtk-config --cflags` -c dial_test.c -o dial_test.o
index 3edbea65ddc790e2805cf2f396d9b5eaadf2dfeb..fc25f04f6126b5858d33f4e29d8708a9ef183c99 100644 (file)
@@ -1,8 +1,8 @@
 
 CC = gcc
 
-helloworld: helloworld.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` helloworld.c -o helloworld
+helloworld: helloworld.c 
+       $(CC) `gtk-config --cflags`  helloworld.c -o helloworld `gtk-config --libs`
 
 clean: 
-       rm -f helloworld
+       rm -f *.o helloworld
index d51e27b06a361da6a76f529a039e00acab015c36..db11296b939c747d668b0f4502c27755dc526a7e 100644 (file)
@@ -1,8 +1,8 @@
 
 CC = gcc
 
-helloworld2: helloworld2.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` helloworld2.c -o helloworld2
+helloworld2: helloworld2.c 
+       $(CC) `gtk-config --cflags`  helloworld2.c -o helloworld2 `gtk-config --libs`
 
 clean: 
-       rm -f helloworld2
+       rm -f *.o helloworld2
index 0888dc8668eb72bcb330ea407360d20cb1b6859e..366d4803022cca944211120d906847e0e0062b26 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 list: list.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` list.c -o list
+       $(CC) `gtk-config --cflags`  list.c -o list `gtk-config --libs`
 
 clean: 
        rm -f *.o list
index 3cfbe6c64889885c3e68143e444894774b5f4746..b9db74f44f7e107ab0a5b30c0075c3d4e55f6dd4 100644 (file)
@@ -4,7 +4,7 @@ CC = gcc
 all: menu menufactory
 
 menu: menu.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` menu.c -o menu
+       $(CC) `gtk-config --cflags` menu.c -o menu `gtk-config --libs`
 
 menufactory: menufactory.o mfmain.o
        $(CC) `gtk-config --libs` menufactory.o mfmain.o -o menufactory
index 2b676aee2028fd06991bc322dca787102f047939..b831d3380e95dc389c7f3fbb5abc95e4a8bcf17a 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 notebook: notebook.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` notebook.c -o notebook
+       $(CC) `gtk-config --cflags`  notebook.c -o notebook `gtk-config --libs`
 
 clean: 
        rm -f *.o notebook
index 0c72412366cc945b24b13eb9d9edab0806e8c8b6..503cf75a63e2d19d4c6f53840ff6f2f8113bcb29 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 packbox: packbox.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` packbox.c -o packbox
+       $(CC) `gtk-config --cflags`  packbox.c -o packbox `gtk-config --libs`
 
 clean: 
        rm -f *.o packbox
index 27cbc80e74cdff55c43590711e32be23fa114540..eea54f3c090480e401601335b07526af39bb2179 100644 (file)
@@ -1,8 +1,8 @@
 
 CC = gcc
 
-pack: pack.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` pack.c -o pack
+packer: packer.c 
+       $(CC) `gtk-config --cflags`  pack.c -o packer `gtk-config --libs`
 
 clean: 
-       rm -f pack
+       rm -f *.o packer
index 7e2c0108671f65e1ece341f61e6a72f2bf96c5b1..4f5f7f06a2c689f58a4878aed643aaf6fae75c1f 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 paned: paned.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` paned.c -o paned
+       $(CC) `gtk-config --cflags`  paned.c -o paned `gtk-config --libs`
 
 clean: 
        rm -f *.o paned
index c3cd24cb6943e104bc4ec774fa67214802f90454..9d99ca271f1c4e2531299ae5d1a6f1be27132eed 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 pixmap: pixmap.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` pixmap.c -o pixmap
+       $(CC) `gtk-config --cflags`  pixmap.c -o pixmap `gtk-config --libs`
 
 clean: 
        rm -f *.o pixmap
index 0379710345b798cacb00a30f4767875571f33892..da4e4c4ae77ec3cc5d29f5ac1737c95efea692d1 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 progressbar: progressbar.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` progressbar.c -o progressbar
+       $(CC) `gtk-config --cflags`  progressbar.c -o progressbar `gtk-config --libs`
 
 clean: 
        rm -f *.o progressbar
index 96d0a19ca2c3d0a3cf65378ef58b18f80670797f..a3417bd2ccc6126ab93f60fb9a1b0a8ac92555eb 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 radiobuttons: radiobuttons.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` radiobuttons.c -o radiobuttons
+       $(CC) `gtk-config --cflags`  radiobuttons.c -o radiobuttons `gtk-config --libs`
 
 clean: 
        rm -f *.o radiobuttons
index 1259faef4587bf52ba8081b50da0b3908c9260c9..97ff145589e68da2d88e50a7833046b11bb9a409 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 rangewidgets: rangewidgets.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` rangewidgets.c -o rangewidgets
+       $(CC) `gtk-config --cflags`  rangewidgets.c -o rangewidgets `gtk-config --libs`
 
 clean: 
        rm -f *.o rangewidgets
index f304afcd9bf80fe01a8d24645e6bbf84f92ff2ef..6c93491b04791be7fefbe5329c582c3b1f36df0b 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 rulers: rulers.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` rulers.c -o rulers
+       $(CC) `gtk-config --cflags`  rulers.c -o rulers `gtk-config --libs`
 
 clean: 
        rm -f *.o rulers
index 9570038777105a56334f2117b354eb0806087c28..4a60e7fbba711a2ad96e079c45a66b7b344c5616 100644 (file)
@@ -1,8 +1,8 @@
 
 CC = gcc
 
-scribble-simple: scribble-simple.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` scribble-simple.c -o scribble-simple 
+scribble-simple: scribble-simple.c 
+       $(CC) `gtk-config --cflags`  scribble-simple.c -o scribble-simple `gtk-config --libs`
 
 clean: 
-       rm -f scribble-simple
+       rm -f *.o scribble-simple
index d35a03a55b5f678eceb58614a35ef9193b5c8db9..0dbc532840370e84c4b39c5391064005d3014d00 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 scrolledwin: scrolledwin.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` scrolledwin.c -o scrolledwin
+       $(CC) `gtk-config --cflags`  scrolledwin.c -o scrolledwin `gtk-config --libs`
 
 clean: 
        rm -f *.o scrolledwin
index de7aaf708ace7d2a4d5daf4e67d516e923cac78d..c53cec3b625f4051c4d35873a77e9d52b8fa37f0 100644 (file)
@@ -4,10 +4,10 @@ CC = gcc
 all: gettargets setselection
 
 gettargets: gettargets.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` gettargets.c -o gettargets
+       $(CC) `gtk-config --cflags` gettargets.c -o gettargets `gtk-config --libs`
 
 setselection: setselection.c
-       $(CC) `gtk-config --cflags` `gtk-config --libs` setselection.c -o setselection
+       $(CC) `gtk-config --cflags` setselection.c -o setselection `gtk-config --libs`
  
 clean: 
        rm -f *.o gettargets setselection
index bedfd77ef5ba6810a6900e9840da03b58dbece4a..8177178c25330ff9a7bb1a720a812ddb14a70e16 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 statusbar: statusbar.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` statusbar.c -o statusbar
+       $(CC) `gtk-config --cflags`  statusbar.c -o statusbar `gtk-config --libs`
 
 clean: 
        rm -f *.o statusbar
index 550c82036a74e4baf33b421c600ffa00ebf3fdfc..b2a0f03e8fdbc30a0086abfdf1ef9f10b8a0cf36 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 table: table.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` table.c -o table
+       $(CC) `gtk-config --cflags`  table.c -o table `gtk-config --libs`
 
 clean: 
        rm -f *.o table
index b1e501a48f89445264389710ccdbc3af6d4e1c32..1ebb1ff2b40b42fed01b6dc5f376d76fa3fd06d1 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 text: text.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` text.c -o text
+       $(CC) `gtk-config --cflags`  text.c -o text `gtk-config --libs`
 
 clean: 
        rm -f *.o text
index e405a76a8cc867d9dae322f3d372112eaa9b465f..0dab1ea755db321e3eb0a11817d7b4b4aa72c2ae 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 ttt_test: tictactoe.o ttt_test.o
-       $(CC) `gtk-config --libs` ttt_test.o tictactoe.o -o ttt_test
+       $(CC) ttt_test.o tictactoe.o -o ttt_test `gtk-config --libs`
 
 ttt_test.o: ttt_test.c tictactoe.h
        $(CC) `gtk-config --cflags` -c ttt_test.c -o ttt_test.o
index 4f9c70a02b29a7d5a7d3bdcc587fe1477292155a..d6ad4cd6fae20ffa8d1b9e2997fdb316e652caf6 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 tree: tree.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` tree.c -o tree
+       $(CC) `gtk-config --cflags`  tree.c -o tree `gtk-config --libs`
 
 clean: 
        rm -f *.o tree
index e2a7cac8a94aa75fd2e74efe5a83985ea7e5a96b..1bc9696c231d0a772a150af767a1c0a5f065e5f4 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 wheelbarrow: wheelbarrow.c 
-       $(CC) `gtk-config --cflags` `gtk-config --libs` wheelbarrow.c -o wheelbarrow
+       $(CC) `gtk-config --cflags` wheelbarrow.c -o wheelbarrow `gtk-config --libs`
 
 clean: 
        rm -f *.o wheelbarrow
index b32343863ccbebba79c8b3a392aa2920fc4fad0c..b594ad83d3cf1ce340df759a428654710fd65d65 100644 (file)
@@ -24,7 +24,7 @@ static gint  gdk_xid_compare (XID *a,
                              XID *b);
 
 
-GHashTable *xid_ht = NULL;
+static GHashTable *xid_ht = NULL;
 
 
 void
index b32343863ccbebba79c8b3a392aa2920fc4fad0c..b594ad83d3cf1ce340df759a428654710fd65d65 100644 (file)
@@ -24,7 +24,7 @@ static gint  gdk_xid_compare (XID *a,
                              XID *b);
 
 
-GHashTable *xid_ht = NULL;
+static GHashTable *xid_ht = NULL;
 
 
 void
index 3902572156d7402918369f2b2505f295382cdd6c..9f7c65b5b25077c26b16e690f5f94dde8775e56c 100644 (file)
@@ -91,6 +91,8 @@ static void gtk_window_read_rcfiles       (GtkWidget         *widget,
                                           GdkEventClient    *event);
 static void gtk_window_draw               (GtkWidget         *widget,
                                           GdkRectangle      *area);
+static void gtk_window_paint              (GtkWidget         *widget,
+                                          GdkRectangle      *area);
 static gint gtk_window_expose             (GtkWidget         *widget,
                                           GdkEventExpose    *event);
 static void gtk_window_style_set          (GtkWidget         *widget,